<?php

// 素材管理类

namespace Home\Controller;

use Think\Controller;

class NewsController extends Controller {

    public function index() {
        $id = $_GET["id"];

        $smod = D("Sucai");
        $where = array("id"=>$id);
        $data = $smod->where($where)->find();


        
        $this->assign("data",$data);
        $this->display();
    }
    
    

}